package service

import (
	datatypes "notabug.org/BigWaffleMonster/ip-checker-telegram-bot/pkg/dataTypes"
)

type Message interface {
	MakeResponseMessage(data datatypes.IpResponseType) string
	GetIpInfo(ip string) (error, datatypes.MessageErrorType, datatypes.IpResponseType)
}

type Service struct {
	Message
}

func NewService() *Service {
	return &Service{
		Message: NewMessageService(),
	}
}
